<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class AdminLog extends Model
{
    protected $table = 'adminer_log'; //表
    protected $fillable = ['user_id', 'url','query','remark'];

    public function userInfo()
    {
        return $this->hasOne('App\Models\Admin','id','user_id');
    }
}
